package com.c611.smartclassroom.service;

import com.c611.smartclassroom.model.Role;
import com.c611.smartclassroom.model.Sys;

import java.util.Date;
import java.util.List;

public interface SysService {

    //查询所有角色
    List<Role> queryAllRole();

    //删除角色
    int delRole(String roleID2);

    //编辑角色权限
    int editAuth(String roleID2, String auth);

    //增加角色
    int addRole(Role role);

    //增加每节课的时间
    int setCourseTime(String schoolId, String semesterID, Integer course, Date stTime, Date edTime);

    //增加学期时间
    int setSemesterDate(String schoolId, String semesterID, Date stTime, Date edTime);

    //编辑学期时间
    int editSemesterDate(String schoolId, String semesterID, Date stTime, Date edTime);

    //删除学期时间
    int delSemesterDate(String schoolId, String semesterID);

    List<String> querySemesterIdDistinct();

    Sys queryDayTime(String schoolId, String semesterID);

    List<Sys> querySemeBySchid(String schoolId);
}
